package org.sunshine.miracle.web.gwt.client;

import com.extjs.gxt.ui.client.mvc.Controller;
import com.extjs.gxt.ui.client.mvc.AppEvent;

/**
 * User: djiva
 * Date: Dec 9, 2008
 * Time: 5:00:43 PM
 */
public class FileManagerControler extends Controller {
    private FileManagerView fileManagerView;

    public FileManagerControler() {
        fileManagerView = new FileManagerView(this);
        registerEventTypes(GlobalEvents.Init);
    }

    public void handleEvent(AppEvent<?> event) {
        if (event.type == GlobalEvents.Init) {
          forwardToView(fileManagerView, event);
        }
    }

    
}
